package com.pi.tcp.util;

import com.alibaba.fastjson.JSON;
import com.pi.base.enumerate.redis.RedisCacheEnum;
import com.pi.base.util.cache.RedisUtil;

public class Test {
  private static final String SSID = "Wangbinbo";
  private static final String PASSWD = "WangbinboPwd";
  
  public static void main(String[] args) {
    String[] wifiArr = new String[2];
    wifiArr[0] = SSID;
    wifiArr[1] = PASSWD;
    RedisUtil.directset(
        RedisCacheEnum.SMART_DEVICE_WIFI, JSON.toJSONString(wifiArr), 
        new Object[]{"86ad9fa0da95084b"});
  }
 
}
